package com.whros.algorithm.sort;

import java.util.Comparator;

/**
 * author whroid
 * date 18/10/20 下午9:32
 */
public interface SortAlgorithm<T extends Comparable> {

    void sortByDesc(T[] arr);

    void sortByAsc(T[] arr);

    void sort(T[] arr, Comparator<T> comparable);

}
